{% extends 'base.html' %}
{% block title %} - Last 10 user updates {% endblock %}
{% block onload %}
onload="document.getElementById('kw_id').focus();"
{% endblock %}
{% block content %}
<div id="content" style="position:absolute; top:20px; left:0px; width:610px; background-color: #1A1A1A; layer-background-color: #1A1A1A;">


<table width="610">
  	<tr>
  		<td colspan="2"><p><span style="font-size:14px;color:#CCC">Recent updates</span></p></td>
    </tr>
    <tr><td colspan="2"> 
	<form method="post" action="/user/updates/">
	<input id="kw_id" type="text" name="keyword" value="{{kw}}" />
	<input type="submit" value="Search" />
	</form>
	</td></tr>
        
	{% for update in updates %}
	<tr>
		<td>{{update.time|date:"Y-m-d H:i"}}</td>
		<td>{{update.content}}</td>
	</tr>
	{% endfor %}
</table>

</div>

{% endblock %}